From 39aac09940fa3710302819f9395fe83aa9a5f708 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Thu, 3 Mar 2022 11:16:25 +0800 Subject: [PATCH] Fix Motif build without toolkit scroll bars * src/xterm.c: Always include Xm.h on Motif. --- src/xterm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 47f9d31ad44..6489a18f904 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -597,13 +597,15 @@ along with GNU Emacs. If not, see . */ #include #endif +#ifdef USE_MOTIF +#include +#endif + #ifdef USE_X_TOOLKIT /* Include toolkit specific headers for the scroll bar widget. */ - #ifdef USE_TOOLKIT_SCROLL_BARS #if defined USE_MOTIF -#include /* For LESSTIF_VERSION */ #include #else /* !USE_MOTIF i.e. use Xaw */ -- 2.30.2